<script language="JavaScript">
<!--
function f_initOther() {
	document.all("base_assettype.deprare").onfocus = function() {f_Deprate()};
}

function f_Deprate() {
	var useyear = document.all("base_assettype.useyear").value;
	var netrate = document.all("base_assettype.netrate").value;

	if (useyear == "") num = 0;
	if (netrate == "") price = 0;

	if (useyear != 0) {
		document.all("base_assettype.deprare").value = (100 - parseFloat(netrate)) / parseFloat(useyear);
	}
}
//-->
</script>